package cn.wolfcode.service;

import cn.wolfcode.domain.EmployeeNotice;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeNoticeService {
    void save(EmployeeNotice employeeNotice);
    void delete(Long id);
    void update(EmployeeNotice employeeNotice);
    EmployeeNotice get(Long id);
    List<EmployeeNotice> listAll();
    // 分页查询的方法
    PageInfo<EmployeeNotice> query(QueryObject qo);

    List<EmployeeNotice> selectStatus(Long id);

    void updateReadStatus(Long userId, Long noticeId);
}
